package com.scott.factory.lesson03.abstractfactory;

/**
 * 魔法系列工厂：可以产生1系列对象   Plane Tank Banana
 * 座着飞机 拿着坦克 吃着香蕉
 */
public class MagicSeriesFactory extends AbstractFactory {

	@Override
	public Vehicle createVehicle() {
		
		return new Plane();
	}

	@Override
	public Weapon createWeapon() {
		
		return new Tank();
	}

	@Override
	public Food createFood() {
		
		return new Banana();
	}

}
